<%@page import="aex.domain.ArticleCategory"%>
<%@page import="aex.domain.Article"%>
<%@page import="aex.service.ShowViewService"%>
<%@page import="aex.util.SSHUtil"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page import="aex.domain.Puser"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
WebApplicationContext ac = SSHUtil.getApplication(request);
ShowViewService svService = (ShowViewService) ac.getBean(ShowViewService.SERVICE_NAME);
%>

<!DOCTYPE>
<html>
  <head>
    <base href="<%=basePath%>">
    <meta charset="UTF-8">
    <meta name="keywords" content="${webKeyWord}">
	<meta name="description" content="${webDescription}" />
	<title> ${webTitle} </title>
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
  	
	<link rel="stylesheet" type="text/css" href="expandStyle/aex_userPage.css">
	<link rel="stylesheet" type="text/css" href="expandStyle/index.css" />
	<link rel="stylesheet" type="text/css" href="expandStyle/article.css" />
	<link rel="stylesheet" type="text/css" href="expandStyle/users.css" />
	<link rel="stylesheet" type="text/css" href="expandStyle/medicine_list.css" />
	<link rel="stylesheet" type="text/css" href="expandStyle/group_articles.css" />
	
	<script type="text/javascript" src="http://libs.useso.com/js/jquery/1.9.1/jquery.min.js"></script>
	</head>
  <body>
    
    <!--导航栏-->
    
    <%
    	Puser user=(Puser)request.getSession().getAttribute("user");
    	if(user==null){
    		%>
    			<jsp:include page="/systemPage/headNavVisitor1.jsp"></jsp:include>		
    		<%
    	}else{
    		%>
				<jsp:include page="/systemPage/headNavVisitor2.jsp"></jsp:include>
    		<%
    	}
    %>
	
	
	<!--主要内容-->
  <div class="container">
      <div class="container_left">
      <!--当前位置-->
         <div id="place_here">
            当前位置 > <a href="index.html">广场</a> > <a href="visitor/visitor_showCategory.do?id=${category.acId}">养生保健</a>
         </div>
                    <!--疗效-->
                    <c:forEach var="item" items="${category.therapies}" varStatus="status">  
                    <div class="con2_suggestions">
                        <span>${status.index+1 }</span>
                        <p><a href="visitor/visitor_therapy.do?id=${item.thId}">${item.thName }</a></p>
                        <div class="con2_help">${item.thUseful }</div>
                     </div>
                     <div class="con2_intrution">
                      	${item.thMethod}
                     </div>
                     </c:forEach>
     </div>
  	 <!-- 侧边栏 -->
  	 <jsp:include page="/systemPage/cbl1.jsp"></jsp:include>
  	 
  </div>
	
    <!--网站底部-->
	<jsp:include page="/systemPage/footerVisitor.jsp"></jsp:include>
  </body>
</html>
